package com.example.homeworkmanagement.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 拒绝加班
 * @since 2025-05-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Attachments对象", description="")
public class Attachments implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "附件ID")
    @TableId(value = "attachment", type = IdType.AUTO)
    private Integer attachment;

    @ApiModelProperty(value = "附件名")
    private String filename;

    @ApiModelProperty(value = "附件内容")
    private String content;

    @ApiModelProperty(value = "附件创建时间")
    private Date createdAt;


}
